﻿/* Messi Message Plugin */
function show_Success(message, title) {
    new Messi(message, {
        title: title,
        titleClass: 'success',
        buttons: [{
            id: 0,
            label: 'Aceptar', val: 'X'
        }], modal: true
    });
    console.log('Success');
}

function show_Info(message, title) {
    new Messi(message, {
        title: title,
        titleClass: 'info',
        buttons: [{
            id: 0,
            label: 'Aceptar', val: 'X'
        }], modal: true
    });
}

function show_Warning(message, title) {
    new Messi(message, {
        title: title,
        titleClass: 'warning',
        buttons: [{
            id: 0,
            label: 'Aceptar', val: 'X'
        }], modal: true
    });
}

function show_Error(message, title) {
    new Messi(message, {
        title: title,
        titleClass: 'anim error',
        buttons: [{
            id: 0,
            label: 'Aceptar', val: 'X'
        }], modal: true
    });
}

function show_miniError(message, title) {
    new Messi(message, {
        title: title,
        titleClass: 'anim error',
        width: '300px',
        buttons: [{
            id: 0,
            label: 'Aceptar', val: 'X'
        }], modal: true
    });
}